package com.wangsong.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.wangsong.service.RedissonTest;


@Controller
public class RedissonController {
	@Autowired
	private RedissonTest test;
	
	@RequestMapping(value="/name")
	@ResponseBody
	public Object listUser(HttpServletRequest request,String name) {
		return test.haha();
	}
	
	
}
